package com.yhp.bean;

import java.sql.Timestamp;
import java.util.Objects;

public class BootStrapCourier {
    private Integer id;
    private String name;
    private String phone;
    private String numberId;
    private String passWord;
    private String numberAll;
    private String inTime;
    private String time;

    @Override
    public String toString() {
        return "Courier{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", numberId='" + numberId + '\'' +
                ", passWord='" + passWord + '\'' +
                ", numberAll='" + numberAll + '\'' +
                ", inTime=" + inTime +
                ", time=" + time +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        BootStrapCourier courier = (BootStrapCourier) o;
        return Objects.equals(id, courier.id) && Objects.equals(name, courier.name) && Objects.equals(phone, courier.phone) && Objects.equals(numberId, courier.numberId) && Objects.equals(passWord, courier.passWord) && Objects.equals(numberAll, courier.numberAll) && Objects.equals(inTime, courier.inTime) && Objects.equals(time, courier.time);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, name, phone, numberId, passWord, numberAll, inTime, time);
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNumberId() {
        return numberId;
    }

    public void setNumberId(String numberId) {
        this.numberId = numberId;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getNumberAll() {
        return numberAll;
    }

    public void setNumberAll(String numberAll) {
        this.numberAll = numberAll;
    }


    public String getInTime() {
        return inTime;
    }

    public void setInTime(String inTime) {
        this.inTime = inTime;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public BootStrapCourier(Integer id, String name, String phone, String numberId, String passWord, String numberAll, String inTime, String time) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.numberId = numberId;
        this.passWord = passWord;
        this.numberAll = numberAll;
        this.inTime = inTime;
        this.time = time;
    }

    public BootStrapCourier() {
    }

    public BootStrapCourier(String name, String phone, String numberId, String passWord) {
        this.name = name;
        this.phone = phone;
        this.numberId = numberId;
        this.passWord = passWord;
    }
}
